/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Array;

/**
 *
 * @author miriam.trevisan
 */
public class a1 {
    int a1 [] = new int[3]; //array di tre interi 
    int[] a2 = new int[3]; //array di tre interi
    
    public static void main (String args []) {
            int a1 [] = new int [10];
            int a2 [] = {1, 2, 3, 4, 5};
            int a3 [] = {1, 2, 3, 4};
            System.out.println ("length of a1 is" + a1.length); //10
            System.out.println ("length of a2 is" + a2.length); //5
            System.out.println ("length of a3 is" + a3.length); //4
        }
    }